<?php
/* @var $this BackendController */
/* @var $data Article */
?>
<div class="well">
        <div class="view">

            <span class="badge"  style="float:left"><?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id),array('style'=>'color:#ffffff','title'=>'ID')); ?></span>
            <br />
            <?php echo CHtml::image('/images/article/'.$data->id.'/'.$data->image,$data->image,array('class'=>'img-thumbnail','style'=>'height:90px;float:left;margin-right:10px;')); ?>

                <?php echo CHtml::link(CHtml::encode($data->title),array('view','id'=>$data->id)) ?>
                <br />
                    <div style="clear:both">

                        <b><?php echo CHtml::encode($data->getAttributeLabel('create_time')); ?>:</b>
                        <?php echo CHtml::decode($data->getCreateDateTimeFormat()); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('update_time')); ?>:</b>
                        <?php echo CHtml::decode($data->getUpdateDateTimeFormat()); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('category_id')); ?>:</b>
                        <?php echo CHtml::encode($data->category_id); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('status')); ?>:</b>
                        <?php echo CHtml::decode($data->getStatus()); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('tags')); ?>:</b>
                        <?php echo CHtml::encode($data->tags); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('create_user_id')); ?>:</b>
                        <?php echo CHtml::decode($data->getCreateUserData()); ?>
                        <br />
                        <b><?php echo CHtml::encode($data->getAttributeLabel('update_user_id')); ?>:</b>
                        <?php echo CHtml::decode($data->getUpdateUserData()); ?>
                        <br />

                        <b><?php echo CHtml::encode($data->getAttributeLabel('rating')); ?>:</b>
                        <?php echo CHtml::decode($data->getRating()); ?>
                        <br />

                    </div>
        </div>
</div>